package cevent.source.cloudcenter.server.dto;/**
 * Created by Cevent on 2021/7/13.
 */

/**
 * @author cevent
 * @description 获取城市数据
 * @date 2021/7/13 9:56
 */
public class AddressCityDto {
    //id
    private String id;
    //区域名称
    private String areaname;
    //父级id，0为一级
    private String parentid;
    //层级
    private String level;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAreaname() {
        return areaname;
    }

    public void setAreaname(String areaname) {
        this.areaname = areaname;
    }

    public String getParentid() {
        return parentid;
    }

    public void setParentid(String parentid) {
        this.parentid = parentid;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("AddressCityDto{");
        sb.append("id='").append(id).append('\'');
        sb.append(", areaname='").append(areaname).append('\'');
        sb.append(", parentid='").append(parentid).append('\'');
        sb.append(", level='").append(level).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
